package com.yy.hi.library.hilog;

/**
 * User: gongyongfeng2@yy.com
 * Date: 2020/6/10 20 :53
 */
public abstract class HiLogConfig {
    static final int MAX_LEN = 512;
    static HiStackTraceFormatter sHiStackTraceFormatter = new HiStackTraceFormatter();
    static HiThreadFormatter sHiThreadFormatter = new HiThreadFormatter();

    public JsonParser injectJsonParser() {
        return null;
    }

    public String getGlobalTag() {
        return "HiLog";
    }

    public boolean enable() {
        return true;
    }

    public boolean includeThread() {
        return false;
    }

    public int stackTraceDepth() {
        return 5;
    }

    public HiLogPrint[] printers() {
        return null;
    }

    public interface JsonParser {
        String toJson(Object src);
    }
}
